package io.gitee.kenewstar.dbmq;

import java.util.Date;

/**
 * @author kenewstar
 */
public class Message {

    public static final String MESSAGE_BODY = "messageBody";
    public static final String CONSUME_FLAG = "consumeFlag";
    public static final String CONSUMER_TAG = "consumerTag";
    public static final String CREATION_DATE = "creationDate";

    private Long id;
    private String messageBody;
    private Integer consumeFlag;
    private Integer consumerTag;
    private Date creationDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMessageBody() {
        return messageBody;
    }

    public void setMessageBody(String messageBody) {
        this.messageBody = messageBody;
    }

    public Integer getConsumeFlag() {
        return consumeFlag;
    }

    public void setConsumeFlag(Integer consumeFlag) {
        this.consumeFlag = consumeFlag;
    }

    public Integer getConsumerTag() {
        return consumerTag;
    }

    public void setConsumerTag(Integer consumerTag) {
        this.consumerTag = consumerTag;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }
}
